<template>
  <div>
    <div class="action-bar">
      <el-button type="primary" size="mini" icon="el-icon-plus" @click="add">新建</el-button>
    </div>
  </div>
</template>
<script>
export default {
  name: 'WorkflowDefinitionActionBar',
  methods: {
    // 新建
    add() {
      this.$router.push({ name: 'dcam_workflowEdit' })
    }
  }

}
</script>
